package com.coffee.admin.api.platform.service;

import com.coffee.admin.api.platform.query.PlatformBaseDeployQuery;
import com.coffee.admin.api.platform.rep.PlatformBaseDeployListRep;
import com.coffee.admin.api.platform.req.PlatformBaseDeployAddReq;
import com.coffee.admin.api.platform.req.PlatformBaseDeployUpdateReq;
import com.coffee.admin.api.platform.result.PlatformBaseDeployResult;
import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface PlatformBaseDeployService {

	Page<PlatformBaseDeployListRep> getPager(PlatformBaseDeployQuery param, PagerInfo pr);
	
	Integer count(PlatformBaseDeployQuery param);
	
	PlatformBaseDeployResult getDetail(Integer id);
	
	List<PlatformBaseDeployResult> getList(PlatformBaseDeployQuery param, PagerInfo pr);
	
	List<PlatformBaseDeployResult> getList(PlatformBaseDeployQuery param);
	
	List<PlatformBaseDeployResult> getList();

	void delete(Integer id);

	void add(PlatformBaseDeployAddReq platformBaseDeployAddReq)throws BusinessException;

	void update(PlatformBaseDeployUpdateReq platformBaseDeployUpdateReq)throws BusinessException;

	Map<Integer,PlatformBaseDeployResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,PlatformBaseDeployResult> getItemMap();
	
}